package cn.wit.baoyan.service;

import cn.wit.baoyan.condition.BaoyanCondition;
import cn.wit.utils.pojo.Baoyan;
import cn.wit.utils.response.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

@Service
public interface BaoyanService {
    Result insertBaoyan(Baoyan baoyan);
    Result updateBaoyan(Baoyan baoyan);
    Result deleteBaoyan(Integer id);
    Result selectById(Integer id);
    Result searchBaoyan(IPage<Baoyan> page, BaoyanCondition condition);
    Result excelImport(MultipartFile file);
}
